@import "color";

header {

  background-color: white;

  .nav-logo {
    height: 110px;
    display: flex;
    padding: 5px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;

    img {
      height: 90px;
    }

    h2 {
      color: white;
      font-weight: revert;
    }

    h4{
      color: white;
    }
  }

  .navbar {
    background-color: $mainColor;

    padding: 0px 20px;

    .navbar-collapse {
      max-width: 1400px;
      margin: 0 auto;

      .navbar-nav{
        width: 100%;
        position: relative;

      .nav-item {
        width: 105px;

        &.active{
          background-color: white;
          font-weight: bold;
          & >a{
            font-weight: bold;
            color: $mainColor!important;
          }
        }

        .nav-link {
          color: white;
          text-align: center;
          font-size: 16px;
          font-weight: 600;

          &:hover {
            background-color:white;
            color: $mainColor;
          }
        }
      }

      .my-dropdown {
        position: relative;

        .divider {
          height: 1px;
          margin: 4px 0;
          overflow: hidden;
          background-color: #e5e5e5;
        }

        &:hover {
          ul {
            display: unset;
          }
        }

        ul {
          position: absolute;
          border: 1px solid #dddddd;
          border-bottom-right-radius: 10px;
          border-bottom-left-radius: 10px;
          list-style: none;
          background-color: white;
          top: 37px;
          padding-left: 0;
          box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
          display: none;
          z-index: 2;
          min-width: 150px;

          .my-right {
            position: relative;

            &:hover {
              ul {
                display: block;
              }
            }

            ul {
              position: absolute;
              left: 100%;
              top: 0;
              display: none;
            }
          }

          li {
            width: 100%;
            cursor: pointer;

            &:hover {
              background-color: #dddddd;
            }

            a {
              width: 100%;
              padding: 8px 30px;
              display: block;
              height: 100%;
              color: #343a40;
              white-space: nowrap;


              &:hover {
                text-decoration: unset;
              }
            }

          }

        }
      }
      }

    }
  }

}